package com.controller;

import com.model.dto.baseDTO.ResultDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/common")
    public ResultDTO createCommonError(){
        return new ResultDTO("501","token over time limit");
    }

}
